package com.travel.service.impl;

import com.travel.dao.BaseDAO;
import com.travel.dao.HotelDAO;
import com.travel.pojo.Hotel;
import com.travel.service.HotelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HotelServiceImpl extends BaseServiceImpl<Hotel> implements HotelService {
    @Autowired
    private HotelDAO hotelDAO;

    @Override
    public BaseDAO getBaseDAO() {
        return hotelDAO;
    }
}
